package com.pzh.guli.service.edu.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

//课程展示
@Data
public class CourseDto implements Serializable {
    private String id;
    private String subjectParentTitle;
    private String subjectTitle;
    private String teacherName;
    private String title;
    private BigDecimal price;
    private Integer lessonNum;
    private String cover;
    private Long viewCount;
    private String status;
    private Long buyCount;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private LocalDateTime gmtCreate;
}
